package com.xuecheng.api.content.model.fileResult;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author by 高鹏
 * @Date 2021/12/13
 * @Description
 */
@Data
@ApiModel("上传凭证结果")
public class UploadTokenResult {

    @ApiModelProperty("token的类别")
    private String tokenType;

    @ApiModelProperty("存储空间的名称")
    private String scope;

    @ApiModelProperty("文件的唯一标识")
    private String key;

    @ApiModelProperty("凭证内容")
    private String qnToken;

    @ApiModelProperty("存储区域地址")
    private String up_region;

    @ApiModelProperty("cdn的域名")
    private String domain;

    @ApiModelProperty("上传凭证的存活时间")
    private Integer deadline;




}
